package com.mobisystems.youpark;

import android.app.Fragment;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

public class MainFragment extends Fragment {
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// Inflate the layout for this fragment
		View v = inflater.inflate(R.layout.fragment_main, container, false);
		
		Typeface font = Typeface.createFromAsset( getActivity().getAssets(), "fontawesome-webfont.ttf" );
		((Button)v.findViewById(R.id.loginButton)).setTypeface(font);
		((Button)v.findViewById(R.id.loginButtonFacebook)).setTypeface(font);
		((Button)v.findViewById(R.id.registerButton)).setTypeface(font);
		return v;
	}
}
